from dataclasses import dataclass, field
from datetime import datetime

@dataclass
class UserHistory:
    id: int = field(init=False)
    user_id: int
    action_type: str
    old_value: str
    new_value: str
    created_at: datetime = field(default_factory=datetime.now)



